package cn.layku.web.service.member.fallback;

import cn.layku.web.service.member.MemberService;
import cn.layku.web.util.ApiResult;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public class MemberFallback implements MemberService {

    @Override
    public ApiResult<Object> add(Map<String, Object> map) {
        return ApiResult.failResult("添加会员失败");
    }

    @Override
    public ApiResult<Object> update(Map<String, Object> map) {
        return ApiResult.failResult("修改会员失败");
    }

    @Override
    public ApiResult<Map<String, Object>> get(Integer memberId) {
        return ApiResult.failResult("获取会员信息失败");
    }

}
